<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://shiro.apache.org/tags" prefix="shiro"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<%
	pageContext.setAttribute("APP_PATH", request.getContextPath());
%>

<title>用户角色管理</title>
<script type="text/javascript" src="${APP_PATH }/static/js/jquery.min.js"></script>
<link type="text/css" rel="stylesheet" href="${APP_PATH }/static/css/blue/pageCommon.css" />


<script type="text/javascript">

$(function(){
	
	
});


</script>
</head>
<body>

<div id="Title_bar">
    <div id="Title_bar_Head">
        <div id="Title_Head"></div>
        <div id="Title"><!--页面标题-->
            <img border="0" width="13" height="13" src="${APP_PATH }/static/css/images/title_arrow.gif"/>用户角色管理
        </div>
        <div id="Title_End"></div>
    </div>
</div>
<div>
	 <label style="font-size: 15px;">角色</label>
       <select style="font-size: 15px;">
       		<option value="0">超级管理员</option>
       		<option value="1">企业管理员</option>
       </select>
       <label style="font-size: 15px;">公司编号</label>
       <select style="font-size: 15px;">
	       <option value="0">0001</option>
	       <option value="1">0002</option>
       </select>
       <input type="button" value="查询">
       
       &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
       <input type="button" value="添加管理员">
</div>
<div id="MainArea">
    <table cellspacing="0" cellpadding="0" class="TableStyle">
        <!-- 表头-->
        <thead>
            <tr align=center valign=middle id=TableTitle>
            	<td>用户编号</td>
				<td>用户手机号</td>
                <td>用户角色</td>
                 <td>操作</td>
            </tr>
        </thead>

		<!--显示数据列表-->
        <tbody id="TableData" class="dataContainer" datakey="processDefList">
        	<c:forEach items="${users }" var="user">
				<tr class="TableDetail1 template">
					<td align="CENTER"><a href="javascript:void(0);">${user.userId }</a></td>
					<td align="CENTER">${user.userPhone }</td>
					<td align="CENTER">
						<c:forEach items="${user.roles }" var="role">
							${role.roleName }
						</c:forEach>
						&nbsp;&nbsp;&nbsp;&nbsp;
					</td>
					<td align="CENTER">
						<a href="#" >修改权限</a>
					</td>
				</tr>
			</c:forEach>
        </tbody>
    </table>
    
    <!-- 其他功能超链接 -->
    <div>
    	<br/>速行企业管理业务
    </div>
</div>


</body>
</html>
